package com.beiing.tianshuai.tianshuai.mine.view;

import com.beiing.tianshuai.tianshuai.base.BaseViewImpl;
import com.beiing.tianshuai.tianshuai.entity.CodeBean;
import com.beiing.tianshuai.tianshuai.entity.PersonalPublishBean;

/**
 * Created by Administrator on 2017/12/25 0025.
 */

public interface PersonalPublishViewImpl extends BaseViewImpl<PersonalPublishBean> {

    /**
     * 删除成功
     *  @param bean     删除结果
     * @param position 所删除条目所在位置
     */
    void onDeleteSuccess(CodeBean bean, int position);

    /**
     * 删除失败
     *
     * @param throwable 异常
     */
    void onDeleteError(Throwable throwable);
}
